package com.ruoyi.system.domain;

import org.apache.commons.lang3.builder.ToStringBuilder;
import org.apache.commons.lang3.builder.ToStringStyle;
import com.ruoyi.common.annotation.Excel;
import com.ruoyi.common.core.domain.BaseEntity;

/**
 * 考核指标--Dmy对象 performance_assessment
 *
 * @author 董明毅
 * @date 2025-06-03
 */
public class PerformanceAssessment extends BaseEntity
{
    private static final long serialVersionUID = 1L;

    /**  id自增 */
    private Long id;

    /** 考核指标名字 */
    @Excel(name = "考核指标名字")
    private String name;

    /** 外键关联---指标类别 */
    @Excel(name = "外键关联---指标类别")
    private String typeId;

    /** 规则 */
    @Excel(name = "规则")
    private String rule;

    /** 加分上线 */
    @Excel(name = "加分上线")
    private String scoreMaxline;

    /** 删除标志（0代表存在 2代表删除） */
    private Long delFlag;

    public void setId(Long id)
    {
        this.id = id;
    }

    public Long getId()
    {
        return id;
    }

    public void setName(String name)
    {
        this.name = name;
    }

    public String getName()
    {
        return name;
    }

    public void setTypeId(String typeId)
    {
        this.typeId = typeId;
    }

    public String getTypeId()
    {
        return typeId;
    }

    public void setRule(String rule)
    {
        this.rule = rule;
    }

    public String getRule()
    {
        return rule;
    }

    public void setScoreMaxline(String scoreMaxline)
    {
        this.scoreMaxline = scoreMaxline;
    }

    public String getScoreMaxline()
    {
        return scoreMaxline;
    }

    public void setDelFlag(Long delFlag)
    {
        this.delFlag = delFlag;
    }

    public Long getDelFlag()
    {
        return delFlag;
    }

    @Override
    public String toString() {
        return new ToStringBuilder(this,ToStringStyle.MULTI_LINE_STYLE)
                .append("id", getId())
                .append("name", getName())
                .append("typeId", getTypeId())
                .append("rule", getRule())
                .append("scoreMaxline", getScoreMaxline())
                .append("remark", getRemark())
                .append("delFlag", getDelFlag())
                .toString();
    }
}
